Skip to content

chore: align DATA_API_BUILDER_VERSION_ID with manifest latest (#969)#992

Closed
LongOddCode wants to merge 1 commit intoAzure:mainfrom
LongOddCode:developer/LongOddCode/bump-dab-manifest-version
Closed

chore: align DATA_API_BUILDER_VERSION_ID with manifest latest (#969)#992
LongOddCode wants to merge 1 commit intoAzure:mainfrom
LongOddCode:developer/LongOddCode/bump-dab-manifest-version

Conversation

@LongOddCode
Copy link
Copy Markdown
Contributor

@LongOddCode LongOddCode commented Apr 21, 2026

Problem

Issue #969 reports that DATA_API_BUILDER_VERSION_ID in src/core/constants.ts was pinned to 0.5.32, while the upstream DAB release-metadata manifest has since advanced well beyond that value. The mismatch is misleading for contributors reading the source — the manifest already serves a newer latest, but the constant suggests the CLI is still on the legacy 0.5.x line.

Verified live manifest state (2026-04-21):

{
  "version": "latest",
  "versionId": "1.3.19",
  "releaseType": "released",
  "releaseDate": "2024-11-29"
}

Root Cause

The constant is a static pin that has not been updated alongside DAB releases. It is referenced only by a commented-out line in src/core/dataApiBuilder/dab.ts intended for optional version pinning — runtime behavior is driven by the manifest's latest entry, not by this constant. So the value has drifted without functional impact.

Fix

File Change
src/core/constants.ts DATA_API_BUILDER_VERSION_ID 0.5.321.3.19

1.3.19 matches the latest entry currently served by the DAB fwlink manifest. A subsequent bump to 1.5.x / 1.7.x can be done once the DAB team promotes a newer build to latest in the manifest (the issue author also suggests coordinating with the DAB team for timely updates).

Testing

  • git diff shows single-line change in constants.
  • ✅ No code references DATA_API_BUILDER_VERSION_ID at runtime (grep confirms only a commented-out usage in dab.ts); no behavior change.
  • ✅ Value matches live manifest latest.versionId.

References

)

The constant was pinned to 0.5.32 while the metadata manifest (linkid=2226493) has advanced to 1.3.19 as the current 'released' latest. The constant is currently only referenced in a commented-out line in dab.ts (version-pin fallback), so this change is documentation-oriented: it aligns the default identifier in source with the manifest so readers are not misled about the shipped version.
@github-actions github-actions Bot added the scope: core Issues happened a the ./src/core level label Apr 21, 2026
@cjk7989
Copy link
Copy Markdown
Contributor

cjk7989 commented Apr 21, 2026

Our feature on database connection is deprecated. So DATA_API_BUILDER is not needed.

@LongOddCode
Copy link
Copy Markdown
Contributor Author

Thanks for the context @cjk7989 — didn't realize the database connection feature is on the deprecation path. Closing this PR since the constant will go away with the feature. I'll add a note on #969 pointing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: core Issues happened a the ./src/core level

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Increment the manifest for the latest Data API Builder version manifest

2 participants